﻿using UnityEngine;
using UnityEngine.UI;

public class MyEventComponent : MonoBehaviour {

    public void OnEvent001(Button button)
    {
        Debug.Log(button.gameObject.name);
        button.gameObject.name = "001";
        button.interactable = false;
    }

    public void OnEvent002(Button button)
    {
        Debug.Log(button.gameObject.name);
    }

    public void OnEvent003(Button button)
    {
        Debug.Log(button.gameObject.name);
    }

    public void OnEvent004(Button button)
    {
        Debug.Log(button.gameObject.name);
    }

    public void OnEvent005(Button button)
    {
        Debug.Log(button.gameObject.name);
    }

    public void OnEvent006(Button button)
    {
        Debug.Log(button.gameObject.name);
    }

}
